package com.online.pay.web.exception;

/**
 * 业务异常
 * @author Qiurz
 *
 */
public class BusinessException extends RuntimeException{

	private static final long serialVersionUID = 1L;

	public BusinessException(String msg) {
		super(msg);
	}
	
	private ParamErrorCode paramErrorCode;
	
	public BusinessException(ParamErrorCode paramErrorCode) {
		super(paramErrorCode.toString());
		this.paramErrorCode = paramErrorCode;
	}

	public ParamErrorCode getParamErrorCode() {
		return paramErrorCode;
	}


}
